import Vue from 'vue'
import MintUI from "mint-ui"
import "mint-ui/lib/style.css"
import App from './App.vue'
import "../lib/mui/css/mui.min.css"
// 由于使用了mui中的扩展图标，因此需要引入对应的字体文件及css样式
import "../lib/mui/css/icons-extra.css"
//导入router
import VueRouter from "vue-router"
//导入vue-router
import VueResource from "vue-resource"
Vue.use(MintUI)
//安装router
Vue.use(VueRouter)
//安装resource
Vue.use(VueResource)
//引入在router.js中定义好的VueRouter构造函数
import router from "./router.js"

Vue.config.productionTip = false

new Vue({
  el: "#app", 
  render: h => h(App),
  router
})
